//
//  CycleBaseViewModel.m
//  CycleBaseControl
//
//  Created by ddy on 2018/12/12.
//  Copyright © 2018年 cycle. All rights reserved.
//

#import "CycleBaseViewModel.h"

@implementation CycleBaseViewModel
+ (instancetype)allocWithZone:(struct _NSZone *)zone {
   CycleBaseViewModel *viewmodel = [super allocWithZone:zone];
    if (viewmodel) {
        [viewmodel cycle_initialize];
    }
    return viewmodel;
}


/**
 * 根据model生成ViewModel
 */
- (instancetype)initWithModel:(id)model {
    self = [super init];
    if(self){
        
    }
    return self;
}


/**
 * 初始化
 */
- (void)cycle_initialize {
    
}
@end
